home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3p / usdumpsema.z / usdumpsema
Encoding:
Text File  |  1998-10-20  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. UUUUSSSSDDDDUUUUMMMMPPPPSSSSEEEEMMMMAAAA((((3333PPPP))))                                                  UUUUSSSSDDDDUUUUMMMMPPPPSSSSEEEEMMMMAAAA((((3333PPPP))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      usdumpsema - dump out information about a specific semaphore
  10.  
  11. CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<uuuulllloooocccckkkkssss....hhhh>>>>
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssttttddddiiiioooo....hhhh>>>>
  14.  
  15.      iiiinnnntttt uuuussssdddduuuummmmppppsssseeeemmmmaaaa ((((uuuusssseeeemmmmaaaa____tttt ****sssseeeemmmmaaaa,,,, FFFFIIIILLLLEEEE ****ffffdddd,,,, ccccoooonnnnsssstttt cccchhhhaaaarrrr ****ssssttttrrrr))));;;;
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      _u_s_d_u_m_p_s_e_m_a dumps information about _s_e_m_a in a readable form.  This
  19.      information is written to the file descriptor given by _f_d.  The
  20.      information printed includes where in memory the semaphore resides, what
  21.      its count is, and the metering and debugging information (see
  22.      _u_s_c_t_l_s_e_m_a(3P)).  The argument _s_t_r is simply printed as a string, and can
  23.      be used to aid in identifying where _u_s_d_u_m_p_s_e_m_a was called from.
  24.  
  25. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  26.      usinit(3P), usctlsema(3P).
  27.  
  28. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  29.      Upon successful completion, a value of 0 is returned. Otherwise, a value
  30.      of -1 is returned and _e_r_r_n_o is set to indicate the error.
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.